package com.s59.rbac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.s59.rbac.common.Token;
import com.s59.rbac.entity.User;
import com.s59.rbac.entity.vo.LoginVO;

import javax.security.auth.login.LoginException;

public interface ILoginService extends IService<User> {
    Token login(LoginVO loginVO) throws LoginException;

    void logout(String token);

}
